<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<title>快速补货</title>
		<link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    	<link rel="stylesheet" type="text/css" href="../../css/mui.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/common.css" />
		<style type="text/css">
			body{
	            background-position: center;
	            background-size: cover;
	            position: relative;
	            font-size: 14px;
			}
			header{
				position: fixed;
				top:0;
				width: 100%;
				z-index: 99;
				background: #fff;
			}
			.aui-list-view .aui-img-object{
				max-width: 80px;
			    height: 80px;
			    line-height: 80px;
			}
			footer .aui-list-view {
				background: #fff;
			}
			.aui-counter-list .aui-radio{
				margin-top:18px;
			}
			.title2{
				text-align: center;
				padding: 15px;
				font-size: 18px;
				position: relative;
			}
			.edit{
				position: absolute;
				right: 15px;
				font-size: 12px;
				top: 18px;
				z-index: 999;
			}
			.company-name{
				height: 40px;
				line-height: 40px;
				font-size: 14px;
				background: #fff;
				padding-left: 15px;
			}
			.company-name .aui-radio{
				margin-top:6px;
			}
			.aui-list-view{
				background: #f3f3f3;
			}
			.aui-radio:checked:after, .aui-radio.aui-checked:after{
				top:0;
				line-height: 26px;
				height: 26px;
			}
			.aui-radio:checked:before, .aui-radio.aui-checked:before{
				content:"";
			}
			.aui-radio{
				margin:0 10px;
			}
			.good-info{

				line-height: 1;
			}
			.good-name{
				font-size: 12px;
				line-height: 16px;
				margin-top: 8px;
			}
			.aui-list-view-cell{
				margin-bottom: 15px;
				background: #fff;
				padding-bottom: 0;
			}
			.good-info .aui-list-view-cell:after{
				left:15px;
			}
			.good-info-list{
				color:#a3a3a3;
				font-size: 12px;
				line-height: 1.4;

			}
			.good-pirce{
				color:#ff0005;
				font-weight: bold;
			}
			.good-info-lists{
				width: 100%;
				padding: 5px 0;
    			line-height: 30px;
    			font-size: 12px;
    			margin-top: 18px;
			}
			.good-edit{
				font-size: 12px;
				line-height: 1.4;
				position: relative;
				background: #f3f3f3;
				overflow: hidden;
				padding: 8px;
				padding-left: 20px;
				position: relative;
			}
			.aui-icon-unfold{
				position: absolute;
				left:-2px;
				top:2px;
			}
			.aui-icon-unfold:before{
				color:#000;
			}
			.good-edit .aui-counter{
				position: absolute;
				right: 8px;
				top:8px;
			}
			.good-edits{
				/*padding-left:40px;*/
				display: none;
				overflow: hidden;
			}
			.good-edit-info{
				width: 60%;
			}

			footer{
				position: fixed;
				bottom: 0px;
				background: #fff;
				width: 100%;
			}
			footer .aui-list-view-cell{
				padding: 0 10px;
				margin-bottom: 0;
				text-align: right;
			}
			footer .aui-img-body{
				font-size: 13px;
			}
			footer .aui-list-view-cell:last-child:after{
				border:none;
			}
			footer .aui-list-view:after{
				border:none;
			}
			.shuoming{
				display: inline-block;
				color:#000;
			}
			footer .aui-list-view{
				padding: 8px 0;
				margin-bottom: 0px;
			}
			.mui-numbox{
				height: 26px;
				top: 16px;
				right: 10px;
				padding:0 25px;
				width: 80px;
				position: absolute;

			}
			.mui-numbox [class*=btn-numbox], .mui-numbox [class*=numbox-btn]{
				width: 25px;
			}
			.jiage{
				color:#ff0005;
			}
			.good-edit .aui-pull-left{
				margin-top: 4px;
			}
			.all-money{
				color:#ff0005;
			}
			
			.all-goods {
				overflow: hidden;
				float: left;
				width: 100%;
			}

			.good{
				margin-bottom: 58px;
			}
			footer.aui-border-t{
				position: fixed;
				background: #fff;
			}
			.editing{
				display: none;
			}
			.isShoucang{
				width: 90%;
				float: right;
				margin-right:5px; 
				height: 100%;
			}
			.aui-btn-block{
				font-size: 14px;
			}
	        .mui-table-view .mui-media-object {
	            line-height: 80px;
	            max-width: 80px;
	            height: 80px;

	        }
	        .mui-table-view .mui-media-object.mui-pull-left{
	        	margin: 0;
	        }
	        .divImg{
	        	border:1px solid #9c9c9c;
	        	width:92px;
	        	height: 92px;
	        	padding:5px;
	        	box-sizing: border-box;
	        	margin-right:10px;
	        	float: left;
	        }
	        .colorPrice {
	        	margin:10px 0;
	        	display: block;
	        }
	        .mui-media-body{
	        	padding: 12px 0;
	        }
	        .mui-table-view-cell p{
	        	color:#000;
	        }
	        .mui-table-view-cell{
	        	padding-bottom:6px;
	        }
	        .colorTitle{
	        	margin:10px 0;
	        	display: block;
	        }
	        .colorTitle,.colorList{
	        	color:#a2a2a2;
	        }
	        .myPicker{
	            position: fixed;
	            bottom: 0;
	            -webkit-transform: translateY(400px);
	            height: 390px;
	            overflow-y:auto; 
	            -webkit-transition:  .5s;
	            transition:  .5s;
	        }
	        .pickAnimate{
	            -webkit-transform: translateY(00px);
	        }	
	        .colorList{
	        	font-size: 12px;
	        	height: 180px;
	        	/*overflow-y: auto;*/
	        	margin-bottom: 5px;
	        	position: relative;
	        }
	        #scroller li{
	        	/*float: left;*/
	        	padding:2px 10px;
	        	border:1px solid #9c9c9c;
	        	border-radius: 3px;
	        	margin-right:10px;
	        	float: left;
	        	margin-bottom: 15px;

	        }
	        #scroller li.active{
	        	border:1px solid #327afa;
	        	color:#327afa;
	        }
	        #wrapper {
	        	position: absolute;
	        	z-index: 1;
	        	top: 0;
	        	bottom: 0;
	        	left: 0;
	        	width: 100%;
	        	overflow: hidden;
	        }

	        #scroller {
	        	position: absolute;
	        }
	        .divColor{
	        	padding:0 15px;
	        }
	        .colorBtn{
	        	padding:15px;
	        	text-align: center;
	        	color:#fff;
	        	background:#327afa;
	        	width: 100%; 
	        	overflow: hidden;
	        	font-weight: bold;
	        	position: absolute;
	        	    bottom: 0;
	        }
	        .proColor{
	        	position: fixed;
	        	background: #fff;
	        	z-index: 9999;
	        }
	        .proColor .close{
	        	width: 20px;
	        	height: 20px;
	        	border-radius: 50%;
	        	border:1px solid #9c9c9c;
	        	position: absolute;
	        	right: 5px;
	        	top:5px;
	        	color:#9c9c9c;
	        	z-index: 100000;
	        	line-height: 20px;
	        	text-align: center;
	        	-webkit-box-sizing: content-box;
	        }
	        .myBtn{
	        	height: 58px;
	        	line-height: 58px;
	        }
	        .buyTime{
	        	margin-left: 8px;
	        }
	        .goods-more-info{
	        	padding: 12px 0;
	        	background: #f3f3f3;
	        	margin-left: 41px;
	        	margin-top: 5px;
	        }
	        .goods-total{
	        	margin-top: 10px;
	        }
	        .goods-total:after{
	        	right: -120%;
	        	left: -30px;
	        }
	        .goods-total span{
	        	display: block;
	        	padding: 10px 8px;
	        }
	        .border-l{
	        	position: relative;
	        }
	        .border-l:before{
	        	content:"";
	        	width: 1px;
	        	background: #ccc;
	        	position: absolute;
	        	left: 0;
	        	top: 7px;
	        	bottom: 7px;
	        }
		</style>
	</head>
	<body>
		<!-- <header>
			<div class="title2">
				<span>进货单</span>
				<span class="edit " tapmode onclick="edit(this)">编辑</span>
			</div> 
		</header>--><!-- /header -->
		<div class="all-goods " >
			<div class="good">
				<div class="good-info">
					<div class="company-name">
				           
				          	 <label class="name " for="p" >潮纺花料印刷有限公司</label>
		            </div>
					<ul class="aui-list-view">
						<li class="aui-list-view-cell aui-img aui-counter-list">
				           <img class="aui-img-object aui-pull-left" src="../../image/shili.jpg">
				           <div class="aui-img-body">
				               <span class="good-name aui-ellipsis-2">这个是商品标个是商品标题这个是商标题这个是商标题这个是商品标题</span>

				               <div class="good-info-lists">
				               		<div class="good-info-list aui-ellipsis-2">最近采购<span class="buyTime">2016-10-25 11:09</span></div>
				               </div>
				           </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
			                </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
			                </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
				                <div class="goods-more-info aui-text-center" tapmode onclick="showPicker()">
				                	添加更多种类
				                </div>
			                </div>
			                <div class="goods-total aui-text-center aui-border-t">
			                	<span class="aui-pull-right jiage border-l">￥0.00</span>
			                	<span class="aui-pull-right">0种0件</span>
			                </div>
				       </li>
						<li class="aui-list-view-cell aui-img aui-counter-list">
				           <img class="aui-img-object aui-pull-left" src="../../image/shili.jpg">
				           <div class="aui-img-body">
				               <span class="good-name aui-ellipsis-2">这个是商品标个是商品标题这个是商标题这个是商标题这个是商品标题</span>

				               <div class="good-info-lists">
				               		<div class="good-info-list aui-ellipsis-2">最近采购<span class="buyTime">2016-10-25 11:09</span></div>
				               </div>
				           </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
			                </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
			                </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
				                <div class="goods-more-info aui-text-center" tapmode onclick="showPicker()">
				                	添加更多种类
				                </div>
			                </div>
			                <div class="goods-total aui-text-center aui-border-t">
			                	<span class="aui-pull-right jiage border-l">￥0.00</span>
			                	<span class="aui-pull-right">0种0件</span>
			                </div>
				       </li>
				   </ul>
				</div>
				<div class="good-info">
					<div class="company-name">
				           
				          	 <label class="name " for="p" >潮纺花料印刷有限公司</label>
		            </div>
					<ul class="aui-list-view">
						<li class="aui-list-view-cell aui-img aui-counter-list">
				           <img class="aui-img-object aui-pull-left" src="../../image/shili.jpg">
				           <div class="aui-img-body">
				               <span class="good-name aui-ellipsis-2">这个是商品标个是商品标题这个是商标题这个是商标题这个是商品标题</span>

				               <div class="good-info-lists">
				               		<div class="good-info-list aui-ellipsis-2">最近采购<span class="buyTime">2016-10-25 11:09</span></div>
				               </div>
				           </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
			                </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
			                </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
				                <div class="goods-more-info aui-text-center" tapmode onclick="showPicker()">
				                	添加更多种类
				                </div>
			                </div>
			                <div class="goods-total aui-text-center aui-border-t">
			                	<span class="aui-pull-right jiage border-l">￥0.00</span>
			                	<span class="aui-pull-right">0种0件</span>
			                </div>
				       </li>
						<li class="aui-list-view-cell aui-img aui-counter-list">
				           <img class="aui-img-object aui-pull-left" src="../../image/shili.jpg">
				           <div class="aui-img-body">
				               <span class="good-name aui-ellipsis-2">这个是商品标个是商品标题这个是商标题这个是商标题这个是商品标题</span>

				               <div class="good-info-lists">
				               		<div class="good-info-list aui-ellipsis-2">最近采购<span class="buyTime">2016-10-25 11:09</span></div>
				               </div>
				           </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
			                </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
			                </div>
				           <div class="aui-counter-box good-edits">
				           <input class="aui-pull-left aui-radio aui-radio-info" type="checkbox">
					           <div class="good-edit">
					           	   <div class="good-edit-info aui-ellipsis-2">颜色分类：粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色、粉红色</div>
				                   <div class="aui-pull-left "><span class="jiage">¥5.60</span>/米</div>
				                   <div class="mui-numbox  aui-pull-right" data-numbox-min='1' data-numbox-max='9'>
				                       <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
				                       <input  class="mui-input-numbox goodNum" type="number" value="5" />
				                       <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				                   </div>
				                </div>
				                <div class="goods-more-info aui-text-center" tapmode onclick="showPicker()">
				                	添加更多种类
				                </div>
			                </div>
			                <div class="goods-total aui-text-center aui-border-t">
			                	<span class="aui-pull-right jiage border-l">￥0.00</span>
			                	<span class="aui-pull-right">0种0件</span>
			                </div>
				       </li>
				   </ul>
				</div>
			</div>
		</div>
		<footer class="aui-border-t">
			<div class="aui-col-xs-9">
				<ul class="aui-list-view edited">
			        <li class="aui-list-view-cell aui-img isNum ">
			            <div class="aui-img-body">
			            	<p>
			                合计：￥<span class="all-money">623500.80</span>
			                </p>
			                <p class="shuoming">
								160种480件不含运费
			                </p>
			            </div>
			        </li>
			    </ul>
			</div>
			<div class="aui-col-xs-3">
				<div class="myBtn">结算</div>
			</div>
		</footer>
		<!-- 商品颜色 -->
		<div class="myPicker proColor ">
			<div class="close">X</div>
			<ul class="mui-table-view ">
			    <li class="mui-table-view-cell mui-media">
			        <a href="javascript:;">
			            <div class="divImg"><img class="mui-media-object mui-pull-left" src="../../image/shili.jpg"></div>
			            <div class="mui-media-body aui-ellipsis-2">
			                <p class='aui-ellipsis-2'>这个是商品标个是商品标题这个是商标题这个是商标题这个是商品标题</p>
			                <span class="colorPrice good-pirce">￥3.5-￥25</span>
			            </div>
			        </a>
			    </li>
			</ul>
			<div class="divColor">
				<span class="colorTitle">颜色分类</span>
				<div class="colorList">
					<div id="wrapper">
						<div id="scroller">
							<ul >
								<li class="active">红色</li>
								<li>黑色</li>
								<li>蓝色1</li>
								<li>黑色</li>
								<li>蓝色</li>
								<li>黑色</li>
								<li>蓝色</li>
								<li>黑色</li>
								<li>蓝色</li>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="colorBtn">
				确  定
			</div>
		</div>
	</body>
	<script type="text/javascript" src="../../script/api.js" ></script>
	<script type="text/javascript" src="../../script/common.js"></script>
	<script type="text/javascript" src="../../script/myInfo.js"></script>
	<script type="text/javascript" src="../../script/mui.js"></script>
	<script type="text/javascript" src="../../script/jquery-1.11.3.js"></script>
	<script type="text/javascript" src="../../script/iscroll.js"></script>
	<script type="text/javascript">
		apiready = function() {
			//showLoading();
			api.addEventListener({
				name:"fromRelenishWin"
			},function(ret){
				if(ret.value){
					hidePicker();
				}
			})
		}
		$(function(){
			myscroll=new IScroll("#wrapper", { 
				probeType: 3, 
				mouseWheel: true,
				click:true 
			});
		})
		
		function funcGotoBakHome(index) {
			getStorageAll();
			if (user_id) {
				api.execScript({
					name : 'root',
					script : 'randomSwitchBtnBakHome('+index+')'
				});
			} else {
				openTo('login_win');
			}
		}
		//提示信息
		function message() {
			api.toast({
				msg : '暂不支持',
				duration : 2000,
				location : 'middle'
			});
		}
		// 单击编辑
		function edit(type){
			if(type=="hide"){
				// 单击编辑，编辑状态
				$(".good-edits").css({"display":"block"});
				//把输入框的复制

			}else{
				// 单击完成，完成状态
				$(".good-edits").css({"display":"none"});
			}
		}
		//结算下面的全选，所有的都是全选
		$(document).on("click","#allChecked",function(){
			$(".all-goods").find("input:checkbox").prop("checked",$(this).prop("checked"));
		})
		// 颜色控制上升
		$(document).on("click",".aui-icon-unfold,.good-edit-info",function(){
			showPicker();
		})
		// 关闭的x号
		$(document).on("click",".close",function(){
			hidePicker();
			mask.close();
		})
		// mui遮罩
		var mask = mui.createMask(hidePicker);
		// 显示遮罩
		function showPicker(){
			mask.show();
			$(".myPicker").addClass("pickAnimate");
			// 跨域执行win的显示遮罩
			api.execScript({
				name:'my/replenish_win',
				script:"showPicker()"
			})
		}
		// 关闭遮罩
		function hidePicker(){
			$(".myPicker").removeClass("pickAnimate");
			mask.myclose();
			// 跨域隐藏win的遮罩
			api.execScript({
				name:'my/replenish_win',
				script:"hidePicker1()"
			})
		}
		// 选择颜色
		$(document).on("click",".colorList li",function(){
			if($(this).hasClass("active")){
				$(this).removeClass("active");
			}else{
				$(this).addClass("active");
			}
		})
		// 单击选择颜色的按钮
		$(document).on("click",".colorBtn",function(){
			hidePicker();
			mask.close();
			var colors=[];
			$(".proColor").find("li.active").each(function(){
				colors.push($(this).text())
			})
			alert(colors)
		})
	</script>
</html>